
namespace ZR.Model.FacManage.Dto
{
    /// <summary>
    /// 车间管理查询对象
    /// </summary>
    public class FacWorkshopQueryDto : PagerInfo
    {
        /// <summary>
        /// 车间编码
        /// </summary>
        public string WorkshopCode { get; set; }

        /// <summary>
        /// 车间名称
        /// </summary>
        public string WorkshopName { get; set; }

        /// <summary>
        /// 所属工厂
        /// </summary>
        public string FactoryId { get; set; }
    }

    /// <summary>
    /// 车间管理输入输出对象
    /// </summary>
    public class FacWorkshopDto
    {
        /// <summary>
        /// 车间Id
        /// </summary>
        [Required(ErrorMessage = "车间Id不能为空")]
        public string WorkshopId { get; set; }

        /// <summary>
        /// 车间编码
        /// </summary>
        [Required(ErrorMessage = "车间编码不能为空")]
        public string WorkshopCode { get; set; }

        /// <summary>
        /// 车间名称
        /// </summary>
        [Required(ErrorMessage = "车间名称不能为空")]
        public string WorkshopName { get; set; }

        /// <summary>
        /// 所属工厂
        /// </summary>
        [Required(ErrorMessage = "所属工厂不能为空")]
        public string FactoryId { get; set; }

        /// <summary>
        /// 备注 
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建人 
        /// </summary>
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人 
        /// </summary>
        public string UpdateBy { get; set; }

        /// <summary>
        /// 更新时间 
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 工厂描述信息
        /// </summary>
        public string FactoryInfo { get; set; }
    }
}